package com.test.log;

import java.util.UUID;

import com.hileto.inf.utils.db.FileDB;

public class Info {
	
	private Integer id;
	private String name ;
	private String address ;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Info(Integer id, String name, String address) {
		super();
		this.id = id;
		this.name = name;
		this.address = address;
	}
	
	public static void main(String[] args) {
		for (int i = 0; i < 102456751; i++) {
			UUID uuid = UUID.randomUUID();
			FileDB.saveInfo(new Info(i, "" + uuid.getLeastSignificantBits(), uuid.toString()));
			FileDB.saveInfo(uuid.toString());
		}
		FileDB.shutdown();
	}
}
